﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B7D RID: 2941
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyConfirmRandomScRsp : IMessage<MonopolyConfirmRandomScRsp>, IMessage, IEquatable<MonopolyConfirmRandomScRsp>, IDeepCloneable<MonopolyConfirmRandomScRsp>, IBufferMessage
	{
		// Token: 0x1700251F RID: 9503
		// (get) Token: 0x06008391 RID: 33681 RVA: 0x0015EBE3 File Offset: 0x0015CDE3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyConfirmRandomScRsp> Parser
		{
			get
			{
				return MonopolyConfirmRandomScRsp._parser;
			}
		}

		// Token: 0x17002520 RID: 9504
		// (get) Token: 0x06008392 RID: 33682 RVA: 0x0015EBEA File Offset: 0x0015CDEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyConfirmRandomScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002521 RID: 9505
		// (get) Token: 0x06008393 RID: 33683 RVA: 0x0015EBFC File Offset: 0x0015CDFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyConfirmRandomScRsp.Descriptor;
			}
		}

		// Token: 0x06008394 RID: 33684 RVA: 0x0015EC03 File Offset: 0x0015CE03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyConfirmRandomScRsp()
		{
		}

		// Token: 0x06008395 RID: 33685 RVA: 0x0015EC0C File Offset: 0x0015CE0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyConfirmRandomScRsp(MonopolyConfirmRandomScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.lHMKHBFOLHE_ = ((other.lHMKHBFOLHE_ != null) ? other.lHMKHBFOLHE_.Clone() : null);
			this.eventId_ = other.eventId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008396 RID: 33686 RVA: 0x0015EC64 File Offset: 0x0015CE64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyConfirmRandomScRsp Clone()
		{
			return new MonopolyConfirmRandomScRsp(this);
		}

		// Token: 0x17002522 RID: 9506
		// (get) Token: 0x06008397 RID: 33687 RVA: 0x0015EC6C File Offset: 0x0015CE6C
		// (set) Token: 0x06008398 RID: 33688 RVA: 0x0015EC74 File Offset: 0x0015CE74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17002523 RID: 9507
		// (get) Token: 0x06008399 RID: 33689 RVA: 0x0015EC7D File Offset: 0x0015CE7D
		// (set) Token: 0x0600839A RID: 33690 RVA: 0x0015EC85 File Offset: 0x0015CE85
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ADNEJCJKBNF LHMKHBFOLHE
		{
			get
			{
				return this.lHMKHBFOLHE_;
			}
			set
			{
				this.lHMKHBFOLHE_ = value;
			}
		}

		// Token: 0x17002524 RID: 9508
		// (get) Token: 0x0600839B RID: 33691 RVA: 0x0015EC8E File Offset: 0x0015CE8E
		// (set) Token: 0x0600839C RID: 33692 RVA: 0x0015EC96 File Offset: 0x0015CE96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x0600839D RID: 33693 RVA: 0x0015EC9F File Offset: 0x0015CE9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyConfirmRandomScRsp);
		}

		// Token: 0x0600839E RID: 33694 RVA: 0x0015ECB0 File Offset: 0x0015CEB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyConfirmRandomScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.LHMKHBFOLHE, other.LHMKHBFOLHE) && this.EventId == other.EventId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600839F RID: 33695 RVA: 0x0015ED10 File Offset: 0x0015CF10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.lHMKHBFOLHE_ != null)
			{
				num ^= this.LHMKHBFOLHE.GetHashCode();
			}
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060083A0 RID: 33696 RVA: 0x0015ED7E File Offset: 0x0015CF7E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060083A1 RID: 33697 RVA: 0x0015ED86 File Offset: 0x0015CF86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060083A2 RID: 33698 RVA: 0x0015ED90 File Offset: 0x0015CF90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			if (this.lHMKHBFOLHE_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.LHMKHBFOLHE);
			}
			if (this.EventId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.EventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060083A3 RID: 33699 RVA: 0x0015EE04 File Offset: 0x0015D004
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.lHMKHBFOLHE_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.LHMKHBFOLHE);
			}
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060083A4 RID: 33700 RVA: 0x0015EE74 File Offset: 0x0015D074
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyConfirmRandomScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.lHMKHBFOLHE_ != null)
			{
				if (this.lHMKHBFOLHE_ == null)
				{
					this.LHMKHBFOLHE = new ADNEJCJKBNF();
				}
				this.LHMKHBFOLHE.MergeFrom(other.LHMKHBFOLHE);
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060083A5 RID: 33701 RVA: 0x0015EEF0 File Offset: 0x0015D0F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060083A6 RID: 33702 RVA: 0x0015EEFC File Offset: 0x0015D0FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 26U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.EventId = input.ReadUInt32();
						}
					}
					else
					{
						if (this.lHMKHBFOLHE_ == null)
						{
							this.LHMKHBFOLHE = new ADNEJCJKBNF();
						}
						input.ReadMessage(this.LHMKHBFOLHE);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003256 RID: 12886
		private static readonly MessageParser<MonopolyConfirmRandomScRsp> _parser = new MessageParser<MonopolyConfirmRandomScRsp>(() => new MonopolyConfirmRandomScRsp());

		// Token: 0x04003257 RID: 12887
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003258 RID: 12888
		public const int RetcodeFieldNumber = 1;

		// Token: 0x04003259 RID: 12889
		private uint retcode_;

		// Token: 0x0400325A RID: 12890
		public const int LHMKHBFOLHEFieldNumber = 3;

		// Token: 0x0400325B RID: 12891
		private ADNEJCJKBNF lHMKHBFOLHE_;

		// Token: 0x0400325C RID: 12892
		public const int EventIdFieldNumber = 14;

		// Token: 0x0400325D RID: 12893
		private uint eventId_;
	}
}
